<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ include file="/sys/include/header.jsp" %>
<%@ page import="java.util.*,com.es.business.area.*, com.es.business.province.*"%>

<HTML>
 <HEAD>
  <TITLE> 修改城市群 </TITLE>

   <link href="sys/style01/css/table.css" rel="stylesheet" type="text/css" />
   <link href="sys/css/banzu.css" rel="stylesheet" type="text/css" />  

<script type="text/javascript">
 
function save(){			
	if(document.form1.updateCitysCode.value==""){
				alert("请输入城市群编码!");
		}else if(document.form1.updateCitysName.value==""){
			alert("请输入城市群名称");
			}else{
			document.form1.submit();
		}
		
}

function back()
{
	document.form1.action = "business/citys/citysSearchDo.action";
	document.form1.submit();
}

</script>
 <link href="sys/style01/css/table.css" rel="stylesheet" type="text/css">
 </HEAD>

 <BODY class="ridgeBody">

<form name="form1" method="post" action="business/citys/citysModifyDo.action">
  <input type="hidden" name="updateCitysId" value="${pBean.citysId}">
<table class=datatable width=50% cellpadding='0' cellspacing='0' border='1' bordercolorDark='white' bordercolorLight='#BEBEBE' >
      <!--DWLayoutTable-->
      <tr >
        <TD height="28" colspan="2"  class="dataTitle">修改城市群信息</TD>
    </tr>      
		<tr>
        <TD width=30% height="22" valign="top" nowrap class="datatr1"> 城市群编码<font color="#FF0000">*</font>：</TD>	
	<TD valign="top" nowrap > 
	      <input name="updateCitysCode" type="text" class="input" value="${pBean.citysCode} "/> 	</TD>
 	 </tr>
 	 
 	  <tr>
        <TD width=30% height="22" valign="top" nowrap class="datatr1"> 省名称<font color="#FF0000">*</font>：</TD>	
	<TD valign="top" nowrap > 
	      <input name="updateCitysName" type="text" class="input" value="${pBean.citysValue}"/> 	</TD>
 	 </tr>
      
      <tr >
        <TD height="21" colspan="2" valign="top" class="dataTitle">  <input type="button" name="Submit1" value="保存" onClick="save()"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

       <input type="button" name="Submit1" value="返回" onClick="back()"/> </TD>
  	 </tr>

        <%	
        if(request.getAttribute("message")!=null)
        {
        	String message=request.getAttribute("message").toString();
        %>
     	 
     	 <tr>
     	   <td height="2" colspan="4" valign="top"><%=message%></td>

   	   </tr>
     	 
     	 
  		 <%}%>
  </TABLE>
</form>
 </BODY>
</HTML>